package com.ruoyi.business.domain.dto.admin.wecom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("管理员修改企微标签DTO")
public class WecomTagGroupEditDTO implements Serializable {

    /**
     * 标签组id
     */
    @ApiModelProperty(value = "标签或标签组的id")
    @NotBlank(message = "id不能为空")
    private String id;

    /**
     * 标签组名称
     */
    @ApiModelProperty(value = "新的标签或标签组名称，最长为30个字符")
    @NotBlank(message = "name不能为空")
    private String name;

    /**
     * 标签组次序值
     */
    @ApiModelProperty(value = "标签/标签组的次序值。order值大的排序靠前")
    @NotNull(message = "order不能为空")
    private Integer order;


}
